import {test2} from "../test2";
import {setValidator} from "../../decorator/setValidator";
import {validatorEnum} from "../../validator/validatorEnum";
import {mc_validatorResult} from "../mc_validatorResult";
import {getValidators} from "../../decorator/getValidators";
import {clearParentValidator} from "../../decorator/clearParentValidator";
/**
 * Created by ybjaa on 2017/7/4.
 */
export class test extends test2{

    @clearParentValidator()
    @setValidator(validatorEnum.maxLength,"3_test",5)
    public test:string="3test";



    @getValidators()
    valiator(result:boolean=null,mc_result:mc_validatorResult=null):boolean {
        return result;
    }

}